export interface ChangeInfoRequest{
    avatar:string,
    sex:number,
    faculty:number,
    introduction:string
}

export interface UploadAvatarRequest{
    file:File
}   
export interface UploadAvatarResponse{
    code:number,
    msg:string,
    data:{
        picUrl:string
    }
}   
export interface InfoResponse{
    code:number,
    msg:string,
    data:{
        user_id:number,
        name:string,
        avatar:string,
        sex:number,
        faculty:number,
        introduction:string,
        status:number
    }
}

export interface ChangeAvatarRequest{
    avatar:string
}
export interface ChangeResponse{
    code:number,
    msg:string
}

export interface ChangePasswordRequest{
    account:string,
    oldPassword:string,
    newPassword:string
}